package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/01/31/13:45
 * @Description: 租金收取情况表实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("rent_receive_info")
@Component
public class RentReceiveInfo implements Serializable {

    /**
     * id                  主键id（自增）
     * contractId          合同编号
     * assetId             房产编号
     * annualRent          年租金
     * payMethodId         支付方式id
     * rentchargeStatusId  租金收取状态id
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("contract_id")
    private String contractId;
    @TableField("asset_id")
    private String assetId;
    @TableField("annual_rent")
    private Integer annualRent;
    @TableField("pay_method_id")
    private Integer payMethodId;
    @TableField("rentcharge_status_id")
    private Integer rentchargeStatusId;






}
